<template>
	<div>
		<h1>新增用户 {{ $attrs }}</h1>
		<el-dialog :title="$attrs.title" :visible.sync="visiblex" :width="$attrs.width">
      <span slot="footer" class="dialog-footer">
        <el-button size="small" @click="visiblex = false">取 消</el-button>
        <el-button size="small" type="primary" >确 定</el-button>
      </span>
    </el-dialog>
	</div>
</template>
<script>
  export default {
    props: {
      visiblex: {
        type: Boolean
      }
    },
    mounted() {
      // this.$emit('visible')
    }
  }
</script>
